package com.example.order.api.fallback;

import com.example.order.api.client.UserClient;
import org.springframework.stereotype.Component;

@Component
public class UserClientFallback implements UserClient {
    @Override
    public String getUser() {
        throw new RuntimeException("user服务getUser()方法调用失败");
    }
}
